<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
        //let str = "\uD842\uDFB7";

        let str = "\u{20BB7}";

        // for(let i=0;i<str.length;i++){
        //     console.log(str[i]);
        // }
          
        // for(const item of str) {
        //     console.log(item)
        // }

        // console.log(str);
       // const str2 = `str的值是: ${str}`

     let str2 = String.raw`hi \n${str}`
     console.log(str2)
    </script>
</head>
<body>
    
</body>
</html>